<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../js/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/footer.css" />
		<link rel="stylesheet" type="text/css" href="../../css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="css/manager.css" />
		<!--画图插件-->
		<script src="../../js/Chart.addTest.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			#choose1 {
				border: 0px;
				background-color: #f7f7f7;
				font-size: 0.416666rem;
				margin: 0.347222rem 0.347222rem 0.347222rem 0.388888rem;
			}
			
			.intergral {
				padding-top: 0.208888rem;
				padding-bottom: 0.188888rem;
				overflow: hidden;
				background-color: white;
				border-bottom: 0.013888rem solid gainsboro;
				border-left: 0rem;
				border-right: 0rem;
			}
			
			.f27 {
				font-size: 0.38rem;
			}
			
			.gonggao-bg {
				background: url(images/tz.png) no-repeat 0.38rem;
				background-size: 0.3rem 0.3rem;
				padding-left: 0.88rem;
				display: inline-table;
				width: 100%;
			}
			
			.gonggao-li {
				margin-bottom: 0;
			}
			
			.gonggao-li2 {
				text-align: right;
				margin-bottom: 0;
				font-size: 0.3333rem;
				margin-right: 0.38rem;
			}
		</style>
	</head>

	<body>
		<div id="wrap">
			<div id="main">
				<div id="header">
					<a id="headImg" href="javascript:history.go(-1)"><img class="headImg" src="../../images/12.png" /></a>
					<p id="headTitle" style="font-size: 16px;">公告</p>
				</div>
				<div id="content" style="padding-top: 1.3rem;">

					<!--<ul>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">李霞因迟到10分钟扣除10积分</span>
							<span class="gonggao-li2">2017.11.13 10:23</span>
						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">孙鹏飞完成学历信息获取4积分</span>
							<span class="gonggao-li2">2017.11.13 14:23 </span>
						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">朱立坤完成营销推广任务获取5积分</span>
							<span class="gonggao-li2"> 2017.11.13 16:23  </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">国鑫完成工作日志获取10积分 </span>
							<span class="gonggao-li2">2017.11.14  09:23   </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">李霞完成工作日志获取10积分</span>
							<span class="gonggao-li2">2017.11.14  11:10  </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">孙辉完成工作总结获取10积分</span>
							<span class="gonggao-li2">2017.11.14  13:11  </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">谭善明完成原型设计获取5积分</span>
							<span class="gonggao-li2">2017.11.14 16:23  </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">谭善明完成项目审核获取5积分</span>
							<span class="gonggao-li2">2017.11.14  15:23   </span>

						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">孙鹏飞完成学历信息获取4积分</span>
							<span class="gonggao-li2">2017.11.13 14:23 </span>
						</li>
						<li class="intergral f27 gonggao-bg">
							<span class="gonggao-li">孙鹏飞完成学历信息获取4积分</span>
							<span class="gonggao-li2">2017.11.13 14:23 </span>
						</li>

					</ul>-->

				</div>
			</div>
			<div id="foot" class="row">
				<a class="foot col-xs-3 col-sm-3" href="../kaoqin/index2.html">
					<img class="footImg" src="../../images/guanlixuanzhong.png" />
					<p>管理</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../coalition/colalition.html">
					<img class="footImg" src="../../images/lianmengchushi.png" />
					<p>联盟</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../store/store.html">
					<img class="footImg" src="../../images/11.png" />
					<p>商城</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../personage/personIndex.html">
					<img class="footImg" src="../../images/13.png" />
					<p>我的</p>
				</a>
			</div>
		</div>

	</body>
	<script src="../../js/jquery-2.2.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/handlebars-v2.0.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/rhAdmin.js" type="text/javascript" charset="utf-8"></script>

	<script type="text/javascript">
		$(function() {
			noticeSearchRole();
		});
		var firmId = "666666aa"; //企业id
		var receiveRole = "a1"; //所属部门
		var receivePerson = "f1450448928"; //当前登录人id
		//获取企业公告
		function noticeSearchRole() {
			$.ajax({
				cache: false,
				type: "GET",
				url: "http://10.0.47.157:5555/notice-service/notice/SearchRole",
				dataType: "JSON",
				data: {
					"firmId": firmId,
					"receiveRole": receiveRole,
					"receivePerson": receivePerson,
				},
				async: false,
				error: function(XMLHttpRequest, textStatus, errorThrown) {
					alert("网络异常请稍后重试！");
				},
				success: function(data) {
					var notice = '<ul>';
					for(var i = 0; i < data.pageInfo.list.length; i++) {
						var list = data.pageInfo.list[i];
						notice += '<li class="intergral f27 gonggao-bg"><span class="gonggao-li">' + list.noticeContent + '</span><span class="gonggao-li2"> ' + list.noticeDate + ' </span></li>';
					}
					notice += '</ul>';
					$("#content").append(notice);
				}
			});
		}
	</script>

</html>